<?php
/*
Plugin Name: Rakuten short tag test
Plugin URI: http://www.kodokuman.com/
Description: Rakuten short tag plugin
Version: 0.2
Author: Johnathan David
Author URI: http://www.kodokuman.com/
License: GPLv2 or later
*/

include_once 'includes/RakutenShortTag.php';
include_once 'includes/MediaRakutenSearch.php';

define ('KDK_RAKUTEN_SHORT_PLUGIN_NAME','rakuten-shortcode');

add_action('init', 'RakutenShortTag::register_rakuten_shorttag');
//add_action('init', 'RakutenMediaSearch::add_meta_box' );
add_filter('media_upload_tabs', 'MediaRakutenSearch::add_media_tab');

function media_rakute_search_form ($type = null, $errors = null, $id = null) {
	media_upload_header();
	echo "johna test" . $type;
}


?>